import request  from "@/util/loginandregiter";
export const golonginAPi =(loginname:string,password:string) =>{
    return request.post<any,loginVueNs.IloginData>('/user/login',{
        loginname,
        password
    })
}
export const getuserInfo = (userid:string) =>{
    return request.get<any,loginVueNs.IloginInfo>('/user/info',{
        params:{
            userid
        }
    })
}